public class GenericMethodExample_printValue {
    public <T> void printValue(T value){
        System.out.println(value);
    }
    public static void main(String[] args){
        GenericMethodExample_printValue example = new GenericMethodExample_printValue();
        example.printValue("Hello,world!");
        example.printValue(1123);
        example.printValue(3.14);
    }
}
